package com.dream.database.manager;

import android.content.Context;

import com.dream.database.dao.BaseDao;

import java.sql.SQLException;

/**
 * Description: database super manager
 * author: WangKunHui
 * date: 11/28/16 4:59 PM
 * <p>
 * Copyright©2016 by wang. All rights reserved.
 */
public abstract class BaseManager<T, D> {

    protected abstract Context getContext();

    protected abstract BaseDao<T, D> getDao(Class<T> clazz) throws SQLException;

}
